﻿using System;


namespace epicenter2010.Domain.Entity
{
	/// <summary>
	/// bstack @ 05/06/2010
	/// Order item entity
	/// </summary>
	public class OrderItem : epicenter2010.Common.EntityBase<int>
	{
		/// <summary>
		/// Description
		/// </summary>
		public readonly string Description;


		/// <summary>
		/// Ctor
		/// </summary>
		/// <param name="Id"></param>
		public OrderItem(
			int Id,
			string description) : base(Id, DateTimeOffset.UtcNow)
		{
			epicenter2010.Common.DBCChecker.RequireArgumentNotEmpty("description", description);

			this.Description = description;
		}
	}
}